import { IsNotEmpty } from 'class-validator';
import { CreateDto } from './create.dto';
import { PartialType } from '@nestjs/mapped-types';

export class UpdateDto extends PartialType(CreateDto) {
  @IsNotEmpty({ message: 'id不能为空' })
  id: number;
}
